package createtype.AbstractFactory;

/**
 * Created by LYJ on 2016/10/18.
 */
public class ConcreateFactory1 implements AbstractFactory {
    @Override
    public AbstractProductA CreateProductA() {
        return new ProductA1();
    }

    @Override
    public AbstractProductB CreateProductB() {
        return new ProductB1();
    }
}
